package org.fioma.tree.bytes;

import org.fioma.tree.LabelRefFactory;

public class LabelRefBytesFactory implements
		LabelRefFactory<LabelRefBytes, byte[]> {

	@Override
	public LabelRefBytes createLabel(byte[] word) {
		return new LabelRefBytes(word, this);
	}

	@Override
	public LabelRefBytes createLabel(byte[] word, int start, int length) {
		return new LabelRefBytes(word, start, length, this);
	}
}
